package com.bw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName t_channel
 */
@TableName(value ="t_channel")
@Data
public class Channel implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String nickname;

    /**
     * 
     */
    private String url;

    /**
     * 
     */
    private Integer typeId;

    /**
     * 栏目分类名称
     */
    @TableField(exist = false)
    private String type;

    /**
     * 
     */
    private String ms;

    /**
     * 
     */
    private String isStatic;

    /**
     * 已上线 已下线 草稿
     */
    private String status;

    /**
     * 
     */
    /**
     *
     */
    private Date createTime;
    /**
     *
     */
    private Date updateTime;
    /**
     * 发布时间
     */
    private String publishTime;

    private Integer xh;


    /**
     * 栏目的图片
     */
    @TableField(exist = false)
    private List<ChannelImages> channelImagesList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 点赞数量
     */
    private Integer upNumber ;
    /**
     * 评论数量
     */
    private Integer commentNumber ;
}